/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.farent.solutions.plugins.stripes.hyperstripes.core;

/**
 *
 * @author frenio
 */
public enum HTMLTagNames {

    head,
    title,
    base,
    isindex,
    style,
    script,
    link,
    meta,
    nextid,
    html,
    body,
    a,
    div,
    blockquote,
    pre,
    ul,
    ol,
    menu,
    dir,
    li,
    dl,
    dt,
    dd,
    address,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    hr,
    p,
    br,
    center,
    img,
    map,
    area,
    fig,
    cite,
    code,
    em,
    kbd,
    samp,
    strong,
    var,
    dfn,
    q,
    lang,
    au,
    person,
    acronym,
    ins,
    del,
    b,
    i,
    tt,
    u,
    big,
    small,
    sub,
    sup,
    basefont,
    font,
    form,
    input,
    select,
    option,
    textarea,
    table,
    tr,
    th,
    caption,
    blink,
    frameset,
    frame,
    noframes,
    marquee,
    bgsound,
    label,
    td;

    public static boolean isSupportedTag(String tagName) {
        for (HTMLTagNames tagNames : HTMLTagNames.values()) {
            if (tagNames.name().equalsIgnoreCase(tagName)) {
                return true;
            }
        }
        return false;
    }
}
